package com.shj.em.biz.warehouse.service;

import com.shj.em.biz.warehouse.entity.Shipment;
import com.baomidou.mybatisplus.service.IService;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.List;
import java.util.Map;

/**
 * 订单出货记录 服务类
 *
 * @author Shen Huang Jian
 * @since 2018-12-10
 */
public interface ShipmentService extends IService<Shipment> {

    /**
     * 分页查询
     * @return
     */
    Page<Shipment> queryShipmentPage(Map<String, Object> params);

    List<Shipment> queryShipmentByOrderId(Long orderId);

    void insertShipment(Shipment shipment);

    //void deleteShipments(List<Long> ids);
}
